package com.tmeone.erpone.mapper;

import com.tmeone.erpone.entity.SUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author tmeone
 * @since 2021-04-16
 */
public interface SUserRoleMapper extends BaseMapper<SUserRole> {
    //删除修改前的角色
    void deleteUserRole(String userId);

    //添加授权的角色
    void intsertUserRole(String userId, String roleId);
}
